// Variables
@import 'variables';
// Bootstrap
@import '~bootstrap/scss/bootstrap';
// Fontawesome
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/regular';
@import '~@fortawesome/fontawesome-free/scss/solid';
@import '~@fortawesome/fontawesome-free/scss/brands';
/* universal */

body {
  font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  background: #E9EAED;
}

/* header */
.navbar {
  padding: 0 1rem;
}

.navbar-static-top {
  border-color: #e7e7e7;
  background-color: #fff;
  box-shadow: 0px 1px 11px 2px rgba(42, 42, 42, 0.1);
  border-top: 4px solid #00b5ad;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 40px;
  margin-top: 0px;
}


/* Sticky footer styles */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #000;

  .container {
    padding-right: 15px;
    padding-left: 15px;

    p {
      margin: 19px 0;
      color: #c1c1c1;

      a {
        color: inherit;
      }
    }
  }
}


/* User register page */
.register-page {
  img.captcha {
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 3px;
  }
}

@import "article_body";
/*.avatar   img{
  vertical-align: top;
}*/
.root-page, .articles-index-page, .articles-show-page, .categories-show-page, .tags-show-page {
  border: none;

  ul {
    padding-left: 0;
  }

  a {
    text-decoration: none;
    color: #333;
  }

  .imgscale img {
    width: 100%;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    transition: all 0.5s;
  }

  .imgscale:hover img {
    transform: scale(1.1);
  }
}

#scrollUp {
  background-image: url("/images/totop.png");
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  text-indent: -999999px;
}

/* Add container and footer space */
#app > div.container {
  margin-bottom: 100px;
}

.simditor-body img {
  max-width: 100%;
}

.sidebar {
  .img-li {
    a {
      display: block;
    }
  }
}

/* 消息通知 */
.notification-badge {
  .badge {
    font-size: 12px;
    margin-top: 14px;
  }

  .badge-secondary {
    background-color: #EBE8E8;
  }

  .badge-hint {
    background-color: #d15b47 !important;
  }
}

//分页样式
.total_page {
  display: inline-block;
  color: #666;
  padding: 5px 10px;
  background: #ffffff;
}